<?php

/**
 * BbSeason form.
 *
 * @package    vogue
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class BbSeasonForm extends BaseBbSeasonForm
{
  public function configure()
  {

    
	   	# WIDGETS
      $this->widgetSchema['s_name']       = new sfWidgetFormInputText(array(), array('style'=>'width:400px;'));
      $this->widgetSchema['s_descr']       = new sfWidgetFormTextarea(array(), array('style'=>'width:400px;'));
      $this->widgetSchema['l_id']       = new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('BbLeague'), 'add_empty' => true), array('style'=>'width:400px;height:24px;'));
      $this->widgetSchema['published']       = new sfWidgetFormInputCheckbox(array(), array('value'=>1));
      $this->widgetSchema['s_win_point']       = new sfWidgetFormInputText(array(), array('style'=>'width:100px;'));
      $this->widgetSchema['s_lost_point']       = new sfWidgetFormInputText(array(), array('style'=>'width:100px;'));
	
    	# VALIDATORS		
    	
      #  LABELS      
      $this->widgetSchema->setLabel('s_name', 'Нэр');
      $this->widgetSchema->setLabel('s_descr', 'Тухай');
      $this->widgetSchema->setLabel('l_id', 'Лиг');
      $this->widgetSchema->setLabel('published', 'published');
      $this->widgetSchema->setLabel('s_win_point', 'Хожилийн оноо');      
      $this->widgetSchema->setLabel('s_lost_point', 'Хожигдолийн оноо');
  }
}
